package com.etoak.stock.controller;

import com.etoak.stock.service.LogService;
import com.etoak.stock.vo.req.LogPageReqVo;
import com.etoak.stock.vo.resp.PageResult;
import com.etoak.stock.vo.resp.R;
import org.apache.ibatis.annotations.Param;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @Author by 孙有泽
 * @Date 2024/11/10 15:55
 * @Description
 */
@RestController
@RequestMapping("api")
public class LogController {

    @Autowired
    private LogService logService;


    @PostMapping("/logs")
    public R<PageResult> logPageQuery(@RequestBody LogPageReqVo logPageReqVo){
        return logService.logPageQuery(logPageReqVo);
    }



}
